coreVersion: v1
kind: Item
includeTemplates:
  - default
metadata:
  name: sequence
  displayName: Sequence
  pluralName: sequences
  displayPluralName: Sequences
  dataSource: main
  tableName: core_sequences
  titleAttribute: name
  description: Sequences
  icon: NumberOutlined
  core: true
  performDdl: false
spec:
  attributes:
    name:
      type: string
      columnName: name
      displayName: Name
      description: Name
      required: true
      unique: true
      length: 50
      colWidth: 150
    displayName:
      type: string
      columnName: display_name
      displayName: Display Name
      description: Display Name
      length: 50
      colWidth: 200
    prefix:
      type: string
      columnName: prefix
      displayName: Prefix
      description: Prefix
      length: 50
    suffix:
      type: string
      columnName: suffix
      displayName: Suffix
      description: Suffix
      length: 50
    initialValue:
      type: int
      columnName: initial_value
      displayName: Initial Value
      description: Initial Value
      defaultValue: 0
      colWidth: 180
    currentValue:
      type: int
      columnName: current_value
      displayName: Current Value
      description: Current Value
      readOnly: true
      colWidth: 160
    step:
      type: int
      columnName: step
      displayName: Step
      description: Step
      defaultValue: 1
    padWith:
      type: string
      columnName: pad_with
      displayName: Pad With
      description: Pad With
      length: 1
    padTo:
      type: int
      columnName: pad_to
      displayName: Pad To
      description: Pad To
      minRange: 0
